﻿namespace DslEditorPowerToy.Controls.Editors
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class SimpleEditor : UserControl
    {
        private IContainer components = null;
        private Label label1;

        public SimpleEditor()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.label1 = new Label();
            base.SuspendLayout();
            //this.label1.BorderStyle = BorderStyle.FixedSingle;
            this.label1.Dock = DockStyle.Fill;
            this.label1.Font = new Font("Microsoft Sans Serif", 24f, FontStyle.Regular, GraphicsUnit.Point, 0);
            this.label1.ForeColor = SystemColors.ControlDarkDark;
            this.label1.Location = new Point(0, 0);
            this.label1.Name = "label1";
            this.label1.Size = new Size(510, 0x165);
            this.label1.TabIndex = 0;
            this.label1.Text = "A Custom Editor";
            this.label1.TextAlign = ContentAlignment.MiddleCenter;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            //base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.label1);
            base.Name = "BasicEditorControl";
            base.Size = new Size(510, 0x165);
            base.ResumeLayout(false);
        }
    }
}

